package com.pinnedtemdecoration;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by SandsBoy on 2018/3/7.
 */

public class StockInfo implements MultiItemEntity {
    public static final int TYPE_HEADER = 1;
    public static final int TYPE_DATA = 2;

    private int itemType;

    public String pinnedHeaderName;

    public double rate;
    public String current_price;
    public String stock_code;
    public String stock_name;

    public StockInfo(int itemType) {
        this.itemType = itemType;
    }

    public StockInfo(int itemType, String pinnedHeaderName) {
        this(itemType);
        this.pinnedHeaderName = pinnedHeaderName;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public boolean check;
}
